package cn.glccc.ds.base.mapper;

import cn.glccc.ds.base.entity.BaseEntity;
import org.apache.ibatis.annotations.Select;

/**
 * <p>基类 Mapper，继承自MybatisPlus的BaseMapper</p>
 * <p>基类只能写公共通用的方法，禁止写独立的业务逻辑</p>
 *
 * @author glccc
 * @date 2024-06-07
 */
public interface BaseMapper<T extends BaseEntity> extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T> {

    @Select("select now()")
    String selectNow();

}
